<template>
	<div class="header">
		<div @click='goback' class="header-left iconfont">&#xe623;</div>
		<div class="header-center">赛事筛选</div>
		<div class="header-right" @click='checkeds'>确定</div>
	</div>
</template>
<script>
export default {
	name: 'filtrateHeader',
	props:{
      checkedList:String,
    },
	data: function(){
		return {

		}
	},
	methods:{
		checkeds(){
			let checkedList = this.checkedList ||'';
			let from = this.$route.query.from;
				from = from+'checkedList'
			sessionStorage.setItem(from,checkedList)
			this.goback();
		},
		goback(){
			this.$router.go(-1)
		}
	}
};
</script>
<style lang="less" scoped>
	@import '~styles/header.less';
	.header .header-left{
		font-size: .5rem;
		line-height: 1rem;
	}
</style>